/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Pod.Model
{

    /// <summary>
    ///  容器系统盘配置
    /// </summary>
    public class CloudDiskSpec
    {

        ///<summary>
        /// 磁盘类型，支持云盘： cloud
        ///</summary>
        public string Category{ get; set; }
        ///<summary>
        /// 云盘ID，指定使用已有云盘
        ///</summary>
        public string VolumeId{ get; set; }
        ///<summary>
        /// 云盘名称
        ///</summary>
        public string Name{ get; set; }
        ///<summary>
        /// 云盘快照ID，根据云盘快照创建云盘。
        ///</summary>
        public string SnapshotId{ get; set; }
        ///<summary>
        /// 云盘类型：hdd.std1,ssd.gp1,ssd.io1
        ///</summary>
        public string DiskType{ get; set; }
        ///<summary>
        /// 云盘size,单位 GB,要求
        ///</summary>
        public int? SizeGB{ get; set; }
        ///<summary>
        /// 指定volume文件系统类型，目前支持[xfs, ext4]；如果新创建的盘，不指定文件系统类型默认格式化成xfs
        ///</summary>
        public string FsType{ get; set; }
        ///<summary>
        /// 云盘的 iops 值，目前只有 ssd.io1 类型有效
        ///</summary>
        public int? Iops{ get; set; }
        ///<summary>
        /// 是否随pod删除。默认：true
        ///</summary>
        public bool AutoDelete{ get; set; }
    }
}
